package com.kgc.onlineLife.service;

import com.kgc.onlineLife.bean.OrderItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created On : 2022/4/17.
 * <p>
 * Author     : 98730
 * <p>
 * Description: OrderItemService
 */
public interface OrderItemService {

    List<OrderItem> listByCustomer(@Param("cstid") int cstid);

    void update(OrderItem orderItem);

    boolean insert(OrderItem orderItem);

    boolean delete(int oiid);

    OrderItem listById(@Param("id") int id);

    boolean modOrderitemOid(Integer id, Integer oid);

    List<OrderItem> listByOid(int i);
}
